<div id="inner_login">

<% form_for :user, @user, :url => {:action => "login", :controller => "users"} do |f| %>
  <p>
    <b>Email</b><br />
    <%= f.text_field :email, :size => 15 %>
  </p>

  <p>
    <b>Password</b><br />
    <%= f.password_field :password, :size => 15 %>
  </p>

  <p>
    <%= f.submit "Login" %><br/>
  </p> 
<%= link_to 'New user', :action => 'new', :controller => 'users', :type => 0 %>
<% end %>
</div>